package com.hengpeng.msls.pagination;

import java.util.Collection;

public interface Pagination<T> extends Page
{
	public int getTotalCount();

	public void setTotalCount(int totalCount);

	public Collection<T> getResult();

	public void setResult(Collection<T> result);

	public void setPageBarCount(int pageBarCount);

	public int getPageBarCount();

	public int getTotalPageRows();

	public boolean isLastPage();

	public boolean isFirstPage();

	public int getEndPageBarNum();

	public int getBeginPageBarNum();

	public int getNextPage();

	public int getPrePage();
}
